body,
* {
    font-family: "Helvetica", "Source Han Sans";
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: black;
}

li {
    list-style: none;
}

a:active {
    color: black;
}

body {
    font-size: 75%;
    line-height: 1.5;
}

/* 导航 */
#nav_top {
    width: 100%;
    height: 87px;
    position: fixed;
    top: 0;
    z-index: 10;
    background-color: #fff;
    z-index: 999;
}

nav {
    width: 1200px;
    height: 87px;
    margin: 0 auto;
    display: flex;
}

#nav_logo {
    width: 100px;
    height: 87px;
}

#nav_logo img {
    display: block;
    width: 100%;
}

#nav_right {
    width: 1100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#right_top {
    width: 100%;
    height: 40px;
}

#right_top>div {
    width: 300px;
    height: 40px;
    display: flex;
    align-items: center;
    float: right;
}

#languagetext {
    width: 66px;
    height: 40px;
}

#tansuo {
    width: 80px;
    height: 40px;
    position: relative;

    a {
        display: block;
        width: 80px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;

        &:before {
            display: inline-block;
            content: "";
            width: 15px;
            height: 15px;
            background: url("../images/10023.png");
            margin-right: 5px;
        }
    }
}

#login {
    width: 64px;
    height: 40px;
    position: relative;

    a {
        display: block;
        width: 64px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;

        &:before {
            display: inline-block;
            content: "";
            width: 15px;
            height: 15px;
            margin-right: 5px;
            background: url("../images/10024.png") no-repeat -108px -22px/1350%;
        }
    }
}

#cart {
    width: 90px;
    height: 40px;
    position: relative;

    .car {
        display: block;
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;

        &:before {
            display: inline-block;
            content: "";
            width: 15px;
            height: 15px;
            margin-right: 5px;
            background: url("../images/10024.png") no-repeat -136px -22px/1350%;
        }

        span {
            display: block;
            width: 14px;
            height: 16px;
            margin-top: -10px;
            background-color: red;
            border-radius: 7px;
            line-height: 16px;
            text-align: center;
            color: #fff;
        }
    }
}

#cart_box {
    width: 388px;
    height: 200px;
    background-color: rgb(247, 247, 247);
    position: absolute;
    padding: 10px 5px;
    box-sizing: border-box;
    left: -297px;
    top: 87px;
    z-index: 10;
    display: none;

}

.cartlist {
    padding: 30px 40px 0 40px;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.cart_bottom {
    position: absolute;
    bottom: 10px;

}

.cartlist>div:first-child {
    width: 100%;
    text-align: center;
    font-size: 14px;

}

.cart_bottom>div:first-child {
    width: 100%;
    text-align: center;
    font-size: 15px;
    margin: 5px 0;
    display: none;
}

.button {
    width: 308px;
    height: 40px;
    background-color: #c22014;
    font-size: 16px;
    text-align: center;

    >.gouwu {
        display: block;
        width: 100%;
        height: 100%;
        line-height: 40px;
        color: white;
    }
}

#close {
    width: 15px;
    height: 15px;
    position: absolute;
    right: 5px;
    background: url("../images/10035.png") no-repeat;
    background-size: 15px 15px;
    z-index: 10;
    cursor: pointer;
}

#right_bottom {
    width: 100%;
    height: 42px;
    display: flex;
    position: relative;

}

#bottom_left {
    width: 65%;
    height: 42px;
    display: flex;
    justify-content: space-around;

    >li {
        width: 12.5%;
        height: 100%;

        >a {
            display: block;
            width: 100%;
            height: 100%;
            font-size: 15px;
        }

    }
}

#bottom_left>li:hover .secondlist {
    display: block;
}


#bottom_right {
    width: 35%;
    height: 37px;
    position: absolute;
    top: -5px;
    right: 0;

    >div {
        width: 368px;
        height: 37px;
        border: 1px solid black;
        display: flex;
        padding-left: 10px;
        text-align: center;
        float: right;
        box-sizing: border-box;

        input {
            width: 330px;
            height: 35px;
            border: none;
            outline: none;
            font-size: 16px;
            text-indent: 20px;

        }
    }

}

#bottom_right>div>a {
    display: block;
    width: 20px;
    height: 37px;
    display: flex;
    align-items: center;
}

#bottom_right>div>a>div {
    width: 20px;
    height: 20px;
    background: url("../images/10024.png") no-repeat 6px 4px/900%;
}


/* 二级菜单 */
.secondlist {
    height: 341px;
    background-color: #fff;
    padding: 40px 0;
    position: fixed;
    box-sizing: border-box;
    top: 87px;
    left: 0;
    right: 0;
    border-top: 1px solid #ddd;
    z-index: 2;
    display: none;
}

.secondcenter {
    width: 1160px;
    height: 100%;
    margin: 0 auto;

    ul {
        margin-left: 50px;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        padding-right: 30px;
        float: left;
        height: 100%;
    }
}

#bottom_left li:first-child .secondlist .secondcenter ul:nth-child(n+2) {
    border: none;
}

#bottom_left li:nth-child(2) .secondlist .secondcenter ul {
    border: none;
}

#bottom_left li:nth-child(3) .secondlist .secondcenter ul:last-child {
    border: none;
}


.secondcenter ul li {
    height: 25px;
}

.secondcenter ul li:first-child {
    font-size: 16px;
    font-weight: bold;
}

.secondcenter ul li a {
    font-size: 12px;
}

/* 侧边栏 */
#right_nav {
    width: 60px;
    height: auto;
    position: fixed;
    top: 50%;
    margin-top: -5%;
    right: 0;
    z-index: 9;
}

#right_nav>div {
    width: 60px;
    height: 60px;
    margin-bottom: 1px;
    background-color: black;
    text-align: center;

    a {
        display: block;
        width: 100%;
        height: 60px;

        &:hover .erweima {
            display: block;
        }
    }

    img {

        width: 42px;
        height: 37px;
        margin-top: 50%;
        transform: translateY(-50%);
    }
}

.erweima {
    position: absolute;
    height: 186px;
    width: 156px;
    right: 61px;
    top: 0px;
    text-align: center;
    background: #333;
    opacity: 0.9;
    padding: 10px 23px 0 23px;
    box-sizing: border-box;
    display: none;
}

#right_nav>div:nth-child(3) .erweima {
    top: 61px;
}

#right_nav>div a>div>div {
    width: 110px;
    height: 110px;

    img {
        width: 100%;
        height: 100%;
    }
}

#right_nav>div a>div p {
    color: white;
    margin: 5px 0 5px 0;
}

/* 公告 */
#notice {
    width: 100%;
    height: 32px;
    line-height: 32px;
    color: white;
    background-color: black;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 87px;
}



//中间
#titled {
    width: 1200px;
    height: 30px;
    line-height: 30px;
    margin: 0 auto;
}

/* product_container */

#product_container {
    width: 1200px;
    /* background-color: aqua; */
    margin: 0 auto;
    display: flex;
    box-sizing: border-box;
    position: relative;
}

.product_picture {
    width: 580px;
    box-sizing: border-box;
    /* background-color: #c22014; */
    flex-shrink: 0;
}

.product_picture li {
    width: 275px;
    height: 275px;
    float: left;
    margin: 0 15px 15px 0;
    background-color: chartreuse;

}

.product_picture li img {
    width: 100%;
}

#box {
    width: 1200px;
    height: 300px;
    background-color: indianred;
    position: absolute;
    z-index: 10;
    display: block;
    cursor: move;
}

#leftbox {
    width: 300px;
    height: 300px;
    background: url(../images/1\ \(23\).jpg) no-repeat;
    background-size: 300px 300px;
    position: absolute;
    left: 0;
    top: 0;
    background-color: mediumturquoise;
}

#rightbox {
    width: 300px;
    height: 300px;
    background-color: darkred;
    position: absolute;
    background: url(../images/1\ \(23\).jpg) no-repeat;
    background-size: 900px 900px;
    left: 350px;
    top: 0;
    display: none;
}

#mask {
    width: 100px;
    height: 100px;
    opacity: 0.4;
    background-color: yellow;
    position: absolute;
    
    display: none;
}

.product_details {
    width: 620px;
    /* height: 684px; */
    flex-shrink: 0;
    padding: 10px;
    box-sizing: border-box;
    /* background-color: blueviolet; */
}

.pro_title {
    width: 100%;
    height: 36px;
}

.pro_title h2 {
    width: 100%;
    font-size: 24px;
    height: 36px;
    line-height: 36px;
}

.product_details>p {
    margin-top: 40px;
    height: 24px;
    font-size: 16px;
    color: #999;
}

.proinfo {
    width: 600px;
    /* background-color: pink; */
    overflow: hidden;
}

.pro_price {
    width: 100%;
    height: 136px;
    background-color: #f8f8f8;
    margin-top: 20px;
}

.price {
    width: 100%;
    height: 76px;
    padding: 15px 25px;
    box-sizing: border-box;
    border-bottom: 1px solid black;
}

.price span {
    font-size: 30px;
    color: #de2910;
}

.active {
    border: 2px solid #de2910 !important;

}

.explore {
    width: 100%;
    height: 60px;
    display: flex;
    padding: 15px 25px;
    box-sizing: border-box;
}

.explore a {
    display: block;
    font-size: 16px;
    height: 100%;
    line-height: 30px;
    margin-left: 20px;

}

.collect {
    width: 100%;
    height: 72px;
    margin-top: 5px;
    padding: 10px 0;
    box-sizing: border-box;
    /* background-color: aqua; */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.collect>a {
    display: block;
    border: 1px solid #999;
    width: 120px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    flex-shrink: 0;
}

.collect>div {
    display: flex;
}

.collect>div span {
    display: block;
    height: 38px;
    line-height: 38px;
}

.collect>div>ul {
    display: flex;
}

.collect>div>ul li {

    width: 38px;
    height: 38px;
    cursor: pointer;
    margin-right: 5px;
}

.collect>div>ul li:first-child {
    background: url("../images/10024.png") no-repeat 0px -259px/680%;
}

.collect>div>ul li:nth-child(2) {
    background: url("../images/10024.png") no-repeat -41px -259px/680%;
}

.collect>div>ul li:nth-child(3) {
    background: url("../images/10024.png") no-repeat -84px -259px/680%;
}

.collect>div>ul li:last-child {
    background: url("../images/10024.png") no-repeat -128px -259px/680%;
}

.colorbox {
    width: 100%;
    /* background-color: chartreuse; */
    margin-top: 10px;
}

.colortitle {
    width: 100%;
    height: 35px;
    line-height: 35px;
}

.colortitle span {
    color: #de2910;
    margin-left: 3px;
}

.colorbox ul {
    width: 100%;
    height: 82px;

}

.colorbox ul li {
    width: 72px;
    height: 72px;
    line-height: 72px;
    text-align: center;
    float: left;
    overflow: hidden;
    margin: 10px 10px 0 0;
    /* background-color: blueviolet; */
    border: 1px solid #999;
    box-sizing: border-box;
    cursor: pointer;
}

.colorbox ul li img {
    width: 100%;
    height: 100%;
}

.sizebox {
    width: 100%;
    /* background-color: chartreuse; */
    margin-top: 10px;
}

.sizetitle {
    width: 100%;
    height: 35px;
    line-height: 35px;
}

.sizetitle span {
    color: #de2910;
    margin-left: 3px;
}

.sizebox ul {
    width: 100%;
    height: 52px;

}

.sizebox ul li {
    width: 72px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    float: left;
    margin: 10px 10px 0 0;
    /* background-color: blueviolet; */
    border: 1px solid #999;
    box-sizing: border-box;
    cursor: pointer;
}

.numbox {
    width: 100%;
    background-color: white;
    margin-top: 10px;
}

.numtitle {
    width: 100%;
    height: 35px;
    line-height: 35px;
}

.numtitle span {
    color: #de2910;
    margin-left: 3px;
}

.numbox>div {
    width: 100%;
    height: 44px;


}

.numbox>div>div {
    width: 150px;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #999;
}

.numbox>div>div div {
    width: 52px;
    height: 100%;
    line-height: 44px;
    text-align: center;
    float: left;
    font-size: 16px;
    box-sizing: border-box;

}

.numbox>div>div div:first-child {
    border-right: 1px solid #999;
    cursor: pointer;
}

.numbox>div>div div:last-child {
    cursor: pointer;
    border-left: 1px solid #999;
}

.numbox>div>div div:nth-child(2) {
    width: 44px;
    height: 100%;
}

.numbox>div>div div:nth-child(2) input {
    width: 100%;
    height: 90%;
    outline: none;
    border: none;
    text-indent: 40%;
}

.productbutton {
    width: 100%;
    height: 42px;
    margin-top: 15px;
    /* background-color: cornflowerblue; */
}

.productbutton div {
    float: left;
}

.buy {
    width: 126px;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #999;
}

.buy a {
    display: block;
    width: 126px;
    height: 100%;
    line-height: 42px;
    text-align: center;
    font-size: 16px;
}

.addcart {
    width: 142px;
    height: 100%;
    box-sizing: border-box;
    margin-left: 20px;
    border: 1px solid #de2910;
    background-color: #de2910;
}

.addcart a {
    display: block;
    width: 142px;
    height: 100%;
    line-height: 42px;
    text-align: center;
    font-size: 16px;
    color: white;
}

.product-tags {
    width: 100%;
    height: 85px;
    border-bottom: 1px solid #dddddd;

    h2 {
        width: 152px;
        height: 24px;
        margin: 0 auto;
        border-left: 1px solid #dddddd;
        border-right: 1px solid #dddddd;
        text-align: center;

        a {
            width: 150px;
            height: 24px;
            // background-color: darkorange;
            padding: 5px 0 5px 0;
            border-bottom: 1px solid gray;
        }

    }
}

.product_section {
    width: 1200px;
    height: 100%;
    margin: 0 auto;

    img {
        @extend .product_section
    }

}

.wrapper {
    width: 1200px;
    height: 402px;
    // background-color: darksalmon;
    margin: 0 auto;
    border-top: 2px solid #dddddd;

    .big-tit {
        width: 100%;
        height: 101px;
        line-height: 101px;
        text-align: center;
        // background-color: palegreen;
        font-size: 25px;
    }
}

.product-sort {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: space-around;

    a {
        display: block;
        width: 228px;
        height: 271px;
        // border: 1px solid #dddddd;
        transition: all 0.2s;

        // background-color: orchid;
        &:hover {
            box-shadow: 5px 5px 15px #ddd;
        }
    }

    img {
        width: 208px;
        height: 200px;
        margin-top: 10px;
        margin-left: 10px;
    }

    p {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.pd-m {
    width: 208px;
    height: 18px;
    // background-color: yellowgreen;
    margin: 0 auto;
    text-align: center;
    margin-top: 5px;

    span {
        padding: 8px;

        &:first-child {
            color: red;
        }

        &:last-child {
            color: #c7c7c7;
            margin-left: 12px;
            text-decoration: line-through;
        }
    }
}


// 中间
// 尾部
footer {
    width: 100%;
    height: 600px;
    /* background-color: green; */
}

.footer_top_center {
    width: 1060px;
    height: 100%;
    box-sizing: border-box;
    padding: 0 100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

    &>div {
        width: 182px;
        height: 127px;
        display: flex;
        flex-direction: column;
        color: white;
        text-align: center;
    }
}

.footer_top {
    width: 100%;
    height: 166px;
    background-color: #000;
}

.footer_top_center>div h3 {
    font-size: 2em;
}

.footer_top_center>div>div {
    width: 100%;
    height: 72px;
}

.footer_top_center>div>div img {
    height: 100%;
}

.footer_logo img {
    display: block;
    width: 100%;
}

.footer_logo {
    margin-top: 40px;
    width: 200px;
    height: 109px;

    >a {
        display: block;
        width: 100%;
        height: 100%;
    }
}

.footer_middle {
    width: 1200px;
    height: 269px;
    margin: 40px auto 0;
    padding: 0 100px;
    // background-color: forestgreen;
    display: flex;
}

.footer_middle_left {
    width: 756px;
    height: 269px;
    float: left;
    // background-color: yellow;
}

.footer_middle {
    ul {
        margin-left: 50px;
        float: left;

        li {
            font-size: 13px;
            height: 25px;
        }
    }
}

.footer_middle_right {
    width: 432px;
    height: 203px;
    padding-right: 162px;
    box-sizing: border-box;
    // background-color: cyan;
}



.fmr_top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 96px;
    margin-bottom: 10px;

    div {
        width: 100px;
        height: 100px;
        margin-bottom: 5px;

        img {
            width: 100%;
        }

    }
}

.fmr_bottom {
    width: 205px;
    height: 40px;
    margin-left: 80px;
    border: 1px solid black;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_bottom {
    margin-top: 50px;
    text-align: center;

    p {
        font-size: 13px;
        color: #999;
    }
}